#include "student.h"
#include<iostream.h>
#include<string.h>
Student::Student(char nu[10],char pr[10], int nrM)
{
	strcpy((*this).nume,nu);
	strcpy((*this).prenume,pr)
	(*this).nrMatricol=nrM;
}
char Student::getnume()
{
	char nu[10];
	strcpy(nu,(*this).nume);
	return nu;
}
char Student::getprenume()
{
	char pr[10];
	strcpy(pr,(*this).prenume);
	return pr;
}
int Student::getnrMatricol();
{
	int nrM;
	nrM=(*this).nrMatricol;
	return nrM;
}
void Student::setnume(char nu)
{	
	strcpy((*this).nume, nu);
}
void Student::setprenume(char pr)
{
	strcpy((*this).prenume,pr);
}
void Student::setnrMatricol(int nrM)
{
	(*this).nrMatricol=nrM;
}
std::ostream& operator<<(std::ostream &cout, Student s)
{
	out<<"\nNumele studentului este:";
	out<<s.nume;
	out<<"\nPrenumele studentului este:";
	out<<s.prenume;
	out<<"\nStudentul are numerul matricol:";
	out<<s.nrMatricol
	return out;
}
std::istream& Student::operator>>(std::istream &cin, Student& s)
{
	std::cout<<"\nNume student:";
	std::in>>s.nume;
	std::cout<<"\nPrenume student:";
	std::in>>s.prenume;
	std::cout<<"\nNumar matricol:";
	std::in>>s.nrMatricol;
	return in;
}
		
